package com.example.demo.mapper;

import com.example.demo.entity.ProductEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductMapper {
    List<ProductEntity> findAll(ProductEntity product);

    boolean update(ProductEntity product);

    boolean insert(ProductEntity product);

    boolean delete(int id);

    int getCount(ProductEntity product);

}
